package com.wanmei.service;

import com.wanmei.pojo.Product;
import com.wanmei.pojo.Productpic;

import java.util.List;

public interface ProductpicService {
    List<Product> findProductPicList();// 返回商品图片列表，
    Productpic selectOnePicUrl(int pid); //通过pid来获取第一张图片;
    Productpic selectAllByPicId(int picid);
    Product selectByPID(Integer pid);
    int deleteByPrimaryKey(Integer picid);
    int addProductPic(Productpic productpic);
}
